//
//  QWNetworkHelpers.h
//  Pods
//
//  Created by ZhangYanhua on 15/12/9.
//
//

#import <Foundation/Foundation.h>

FOUNDATION_EXPORT void QWLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2);

typedef NS_ENUM(NSInteger , QWRequestMethod) {
    QWRequestMethodGet = 0,
    QWRequestMethodPost,
};

typedef NS_ENUM(NSInteger , QWRequestSerializerType) {
    QWRequestSerializerTypeHTTP = 0,
    QWRequestSerializerTypeJSON,
};

@interface QWNetworkHelpers : NSObject

+ (NSString *)urlStringWithOriginUrlString:(NSString *)originUrlString
                          appendParameters:(NSDictionary *)parameters;

+ (NSString *)md5StringFromString:(NSString *)string;

@end
